﻿using System;
using System.Configuration;

namespace CommHelper
{
    public class ConfigManager
    {
        public static string GetAppSettings(string Key)
        {
            return ConfigurationManager.AppSettings[Key];
        }

        public static string GetConnectionString(string Key)
        {
            return ConfigurationManager.ConnectionStrings[Key].ConnectionString;
        }
    }
}
